\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-List\-Binary\-Operator \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator}\index{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}}
}


{\ttfamily \#include $<$\-M\-T\-List\-Binary\-Operator.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-List\-Binary\-Operator\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_mathematica_translator_1_1_m_t_list_binary_operator}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_aa7573b792e85afa7d027806f197e905b}{
{\bfseries \-M\-T\-List\-Binary\-Operator} (\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \&expr1, const std\-::string \&op, \hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \&expr2)}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_aa7573b792e85afa7d027806f197e905b}

\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_binary_operator_ab47fb0770bf4d9cabf3542684cca7cc9}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_a1960d97374f73f31486a115455b0bcb4}{
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_binary_operator_a1960d97374f73f31486a115455b0bcb4}{get\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_a1960d97374f73f31486a115455b0bcb4}

\begin{DoxyCompactList}\small\item\em \-Get the best type that fits the underlying expression. \end{DoxyCompactList}\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_binary_operator_a08d276c96979feee6b643b97c2167844}{get\-Number\-Of\-Elements} ()
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_ab436dd57d36a531e238f7a07d8b245a3}{
virtual int {\bfseries get\-Class\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_ab436dd57d36a531e238f7a07d8b245a3}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_abd63cd699dd1dfa2cfa046225f5ceed2}{
std\-::string {\bfseries op}}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_abd63cd699dd1dfa2cfa046225f5ceed2}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_a1aa70ad2f0001c05b7247c2b16dcbeed}{
\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \& {\bfseries expr1}}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_a1aa70ad2f0001c05b7247c2b16dcbeed}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_ab69b0fcf5705ec43337df4bd2e9b0219}{
\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \& {\bfseries expr2}}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_ab69b0fcf5705ec43337df4bd2e9b0219}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Equivalent to \hyperlink{class_mathematica_translator_1_1_m_t_binary_operator}{\-M\-T\-Binary\-Operator} for \-C\-U\-D\-A operations. \begin{DoxyNote}{\-Note}
future releases will be integrated with \hyperlink{class_mathematica_translator_1_1_m_t_binary_operator}{\-M\-T\-Binary\-Operator} 
\end{DoxyNote}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_ab47fb0770bf4d9cabf3542684cca7cc9}{
\index{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTListBinaryOperator@{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_ab47fb0770bf4d9cabf3542684cca7cc9}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_ae60846398fde87b09c242b5ea263586e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.

\hypertarget{class_mathematica_translator_1_1_m_t_list_binary_operator_a08d276c96979feee6b643b97c2167844}{
\index{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}!get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}}
\index{get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}!MathematicaTranslator::MTListBinaryOperator@{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}}
\subsubsection[{get\-Number\-Of\-Elements}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator\-::get\-Number\-Of\-Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_list_binary_operator_a08d276c96979feee6b643b97c2167844}
\-Get the number of elements in underlying expression \begin{DoxyNote}{\-Note}
for primitves returns 1, for vector/matrix returns number of elements 
\end{DoxyNote}
\begin{DoxyReturn}{\-Returns}
number of elements as string 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_a47c66480bdb9dca746c79b3d098fb24e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-List\-Binary\-Operator.\-hpp\item 
\-M\-T\-List\-Binary\-Operator.\-cpp\end{DoxyCompactItemize}
